package com.ihunanren.biz.function.domain;

/**
 * ip信息
 * 
 * @author kalman03
 * 
 */
public class IpInfo extends WeixinResp{

	private String ip;
	private String location;

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}
	
	public String toReply(){
		StringBuilder sb = new StringBuilder();
		sb.append("ip：").append(ip).append(",ip所在地：").append(location);
		return sb.toString();
	}
	

	@Override
	public String toString() {
		return "IpInfo [ip=" + ip + ", location=" + location + "]";
	}

}
